package com.health.db.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UserAccountLedger implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 9173222414833856854L;

	private Long recid;

    private Integer systemid;

    private Long acctpageid;

    private Integer ledgerid;

    private Long accountid;

    private Integer columnid;

    private String accountIdno;

    private String accountName;

    private Integer periodid;

    private BigDecimal balanceTotal = new BigDecimal(0);

    private BigDecimal balanceAmount = new BigDecimal(0);

    private BigDecimal balanceQuantity= new BigDecimal(0);

    private Integer catalogid;

    private Short isUsedFlag;

    private String comment;

    private Date createDate;

    private Long createUserid;

    private Date updateDate;

    private Long updateUserid;

    private String accountData;

    private UserCashAccountIdNo userCashAccountIdNo;
    
    /**
	 * @return the userCashAccountIdNo
	 */
	public UserCashAccountIdNo getUserCashAccountIdNo() {
		return userCashAccountIdNo;
	}

	/**
	 * @param userCashAccountIdNo the userCashAccountIdNo to set
	 */
	public void setUserCashAccountIdNo(UserCashAccountIdNo userCashAccountIdNo) {
		this.userCashAccountIdNo = userCashAccountIdNo;
	}

	public Long getRecid() {
        return recid;
    }

    public void setRecid(Long recid) {
        this.recid = recid;
    }

    public Integer getSystemid() {
        return systemid;
    }

    public void setSystemid(Integer systemid) {
        this.systemid = systemid;
    }

    public Long getAcctpageid() {
        return acctpageid;
    }

    public void setAcctpageid(Long acctpageid) {
        this.acctpageid = acctpageid;
    }

    public Integer getLedgerid() {
        return ledgerid;
    }

    public void setLedgerid(Integer ledgerid) {
        this.ledgerid = ledgerid;
    }

    public Long getAccountid() {
        return accountid;
    }

    public void setAccountid(Long accountid) {
        this.accountid = accountid;
    }

    public Integer getColumnid() {
        return columnid;
    }

    public void setColumnid(Integer columnid) {
        this.columnid = columnid;
    }

    public String getAccountIdno() {
        return accountIdno;
    }

    public void setAccountIdno(String accountIdno) {
        this.accountIdno = accountIdno == null ? null : accountIdno.trim();
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName == null ? null : accountName.trim();
    }

    public Integer getPeriodid() {
        return periodid;
    }

    public void setPeriodid(Integer periodid) {
        this.periodid = periodid;
    }

    public BigDecimal getBalanceTotal() {
        return balanceTotal;
    }

    public void setBalanceTotal(BigDecimal balanceTotal) {
        this.balanceTotal = balanceTotal;
    }

    public BigDecimal getBalanceAmount() {
        return balanceAmount;
    }

    public void setBalanceAmount(BigDecimal balanceAmount) {
        this.balanceAmount = balanceAmount;
    }

    public BigDecimal getBalanceQuantity() {
        return balanceQuantity;
    }

    public void setBalanceQuantity(BigDecimal balanceQuantity) {
        this.balanceQuantity = balanceQuantity;
    }

    public Integer getCatalogid() {
        return catalogid;
    }

    public void setCatalogid(Integer catalogid) {
        this.catalogid = catalogid;
    }

    public Short getIsUsedFlag() {
        return isUsedFlag;
    }

    public void setIsUsedFlag(Short isUsedFlag) {
        this.isUsedFlag = isUsedFlag;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getCreateUserid() {
        return createUserid;
    }

    public void setCreateUserid(Long createUserid) {
        this.createUserid = createUserid;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Long getUpdateUserid() {
        return updateUserid;
    }

    public void setUpdateUserid(Long updateUserid) {
        this.updateUserid = updateUserid;
    }

    public String getAccountData() {
        return accountData;
    }

    public void setAccountData(String accountData) {
        this.accountData = accountData == null ? null : accountData.trim();
    }
}